﻿<!DOCTYPE html>
<html>
<head> 
<title>{$GuestTitle}-{$GetSiteTitle}</title>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta http-equiv="Cache-control" content="max-age=1700">
<meta name="viewport" content="user-scalable=no, width=device-width">
<meta name="MobileOptimized" content="320">
<meta name="author" content="kesion.com">
<meta name="format-detection" content="telephone=no">
<meta name="keywords" content="{$GuestTitle}"/>
<meta name="description" content="{@topic.description}"/>
<link href="{$GetSiteUrl}3g/images/style.css" rel="stylesheet" type="text/css">
<link href="{$GetSiteUrl}3g/images/bbs.css" rel="stylesheet" type="text/css">
<script src="{$GetInstallDir}ks_inc/jquery.js"></script>
<script src="{$GetInstallDir}ks_inc/common.js"></script>
<script src="{$GetInstallDir}{$GetClubInstallDir}/images/club.js"></script>
<script src="{$GetInstallDir}ks_inc/weibo.js"></script>
<script src="{$GetInstallDir}{$GetClubInstallDir}/images/LeeSelect.js" type=text/javascript></script>
<script type="text/javascript"> 
//===========================点击展开关闭效果====================================
function openShutManager(oSourceObj,oTargetObj,shutAble,oOpenTip,oShutTip){
var sourceObj = typeof oSourceObj == "string" ? document.getElementById(oSourceObj) : oSourceObj;
var targetObj = typeof oTargetObj == "string" ? document.getElementById(oTargetObj) : oTargetObj;
var openTip = oOpenTip || "";
var shutTip = oShutTip || "";
if(targetObj.style.display!="none"){
   if(shutAble) return;
   targetObj.style.display="none";
   if(openTip && shutTip){
    sourceObj.innerHTML = shutTip; 
   }
} else {
   targetObj.style.display="block";
   if(openTip && shutTip){
    sourceObj.innerHTML = openTip; 
   }
}
}
</script>
<script>
$(function(){
	$(".headertit").replaceWith("<div class='headertit'>论坛详情页</div>");
	})
</script>
<style>
.textbox{ width:100% !important;border: 1px solid #e5e5e5;resize: none;}
</style>
</head>
<body>
{LB_3g头部通用}	
<div id="box2013" style="display:none">
	<div class="topbg"></div>
	<ul>
		{$GetModelList}
	</ul>
	<div class="clear"></div>
</div>
<div class="MiddleCont">
		

 {ElseIF:ID<>0 and GuestTitle<>"无权进入"}

 

<div class="clubmainbox" style=" margin-top:0;">
	    <table width="100%" cellspacing="0" cellpadding="0" style=" background:#fff;">
				 <td class="zhuti" style="position:relative;">
				 {@topic.BoardCategory}{@topic.Subject}
				   <span style="font-size:0.7rem;font-weight:normal;">&nbsp;查看:{@topic.Hits} 回复:{@topic.totalreplay} 
				   </span> </div>
				 </td>
			   </tr>
			  </table>
			  <div style="margin-top:0.5rem; padding-left:0.75rem;">
			  {$PostButtonAction} &nbsp;<a href="#reply"><img src="{$GetInstallDir}{$GetClubInstallDir}/images/button_reply.png" /></a>&nbsp;&nbsp;<a href="javascript:;" onClick="history.back();"><img src="images/button_back.gif" /></a>
			  </div>
	      {@loop.begin}
			  <a name="{@item.n}"></a>
			  <table id="floor{@item.N}" cellspacing="0" width="100%" border="0" cellpadding="0" style="word-break:break-all;">
				<tr>
	
				<td valign="top">
					
					<table border="0" class="righttitle" cellspacing="0" cellpadding="0" style="margin-bottom:0;">
					 <tr><td>
					<div class="avatar48"><img src="../uploadfiles/user/avatar/{@item.UserID}.jpg" onerror="this.src='../user/images/noavatar_middle.gif';" /></div>
					</td><td style=" padding-left:0.5rem; padding-right:0.5rem; font-size:0.6rem;">
					{@item.OnlineIco} {@item.UserName} 发表于：{@item.PubTime} &nbsp;{@item.PubIP} 
					
					<span style="float:right"><span style="color:#ff6600;font-weight:bold">{@item.Floor}</span>&nbsp;</span>	
					</td></tr></table>
					
					 
					 <div class="subjecttit">
						   {@item.Content}		 
					 </div>
				 </td>
				</tr>

			 </table>	
		   
			
		  {@loop.end}
		  
		  
	    <div id="ShowTopicByAjax"></div>

		<table width="100%" cellspacing="0" cellpadding="0">
		<tr>
		 <td >{@topic.showpage}</td>
	   </tr>
		</table>
</div>	




	<div class="clear blank8"></div>	
<div class="clubmainbox" style="background:#fff; margin-top:0;">	
	{@replay.begin}
		<a name="reply"></a>
		<table width="100%" cellspacing="0" cellpadding="0">
		<form name="postform" action="{#InstallDir#}{#ClubDir#}/save_reply.asp" method="post">
		 <tr>
			<input type="hidden" name="from3g" value="1"/>
			<input type="hidden" name="toend" value="1"/>
			<input type="hidden" name="subject" value="{@topic.subjectnohtml}"/>
			<input type="hidden" name="topicid" value="{$TopicID}"/>
			<input type="hidden" name="boardid" value="{$BoardID}"/>
			<input type="hidden" name="posttable" value="{$PostTable}"/>
			<input type="hidden" name="istop" value="{$IsTop}"/>
			
		<td style="padding:0.5rem;margin:0px;background:#fff;">
		    <div style=" margin-bottom:0.5rem;">{@replay.username}回复：<span id="subjectnohtml">{@topic.subjectnohtml}</span> </div>
			<div class="clear blank8"></div>
			<textarea name="Content" id="Content" class="textbox" style="height:5rem;margin:0;padding:0;font-size: 0.7rem;line-height: 1.5rem;"></textarea>
	<table width="100%">
			 <tr>
			  <td>
			 
			  <input type="submit" class="btn" onClick="return(checkrform());" style="padding: 0 1rem;" value=" 提交回复 " id="submitbtn" />
			  
			  <script type="text/javascript">
			  /*内容页回复*/
				function checkrform(){  
					var content=$("#Content").val();
					if (content==""){ alert("请填写回复内容");$("#Content").focus(); return false;}
					return true;
				}
			  </script>
			  
			  </td>
		   </tr>
		   </table>
		</td>
	  
	</tr>
	
	 </form>
	</table> 


	{@replay.end}
		
	 </div> 


</div>
{Else}
<div class="clubmainbox">
{$GetGuestList}
</div>
{/ElseIF}





	 <!--3G底部start-->  
	
	 <!--3G底部end-->  
</body>
</html>
